/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.saleRecipel.GaiaSdSaleRecipelInData;
import com.gys.data.saleRecipel.GaiaSdSaleRecipelRecordInData;
import java.util.Map;

public class SaleRecipelUtil {
    public static HttpJson getAuditedSaleRecipelList(GaiaSdSaleRecipelInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/saleRecipel/auditedSaleRecipelList", JSON.toJSONString(inData));
    }

    public static HttpJson getSaleRecipelRecordList(GaiaSdSaleRecipelRecordInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/saleRecipel/saleRecipelRecordList", JSON.toJSONString(inData));
    }

    public static HttpJson addOrUpdateRecipelRecord(Map<String, Object> param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/saleRecipel/addOrEditRecipelRecord", JSON.toJSONString(param));
    }

    public static HttpJson auditRecipelRecord(Map<String, Object> param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/saleRecipel/auditRecipelRecord", JSON.toJSONString(param));
    }
}

